<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>${ENV,var="JOB_NAME"}-第${BUILD_NUMBER}次构建日志</title>
</head>

<body leftmargin="8" marginwidth="0" topmargin="8" marginheight="4" offset="0">
<table width="95%" cellpadding="0" cellspacing="0"
       style="font-size: 11pt; font-family: Tahoma,Arial,Helvetica,sans-serif">
    <tr>
        <td>本邮件是程序自动下发的，请勿回复！</td>
    </tr>
    <tr>
        <td>
            <h2>
                <font color="#0000FF">构建结果 - ${BUILD_STATUS}</font>
            </h2>
        </td>
    </tr>
    <tr>
        <td><br />
            <b>
                <font color="#0B610B">构建信息:</font>
            </b>
            <ht size="2" width="100%" byte="center" />
        </td>
    </tr>
    <tr>
        <td>

            <ul>
                <li>项目名称&nbsp;:&nbsp;${PROJECT_NAME}</li>
                <li>项目目录&nbsp;:&nbsp;<a href="${PROJECT_URL}">${PROJECT_URL}</a></li>
                <li>构建编号&nbsp;:&nbsp;${BUILD_NUMBER}</li>
                <li>触发原因&nbsp;:&nbsp;${CAUSE}</li>
                <li>构建目录&nbsp;:&nbsp;<a href="${BUILD_URL}">${BUILD_URL}</a></li>
                <li>构建日志&nbsp;:&nbsp;<a href="${BUILD_URL}console">${BUILD_URL}console</a></li>
                <li>工作目录&nbsp;:&nbsp;<a
                        href="${PROJECT_URL}workflow-stage">${PROJECT_URL}workflow-stage</a></li>
                <li>构建制品已同步上传至Minio&nbsp;:&nbsp;<a
                        href="http://10.2.11.13:9000/minio/gscm/${BUILD_NUMBER}/">http://10.2.11.13:9000/minio/gscm/${BUILD_NUMBER}/</a></li>
            </ul>
        </td>
    </tr>
    <tr>
        <td><b><font color="#0B610B">历史变更记录:<a href="${PROJECT_URL}changes">${PROJECT_URL}changes</a></font></b>
            <hr size="2" width="100%" align="center" /></td>
    </tr>
    <tr>
        <td>
            ${CHANGES_SINCE_LAST_SUCCESS,reverse=true, format="Changes for Build #%n:<br />%c<br />",showPaths=true,changesFormat="<pre>[%a]<br />%m</pre>",pathFormat="&nbsp;&nbsp;&nbsp;&nbsp;%p"}
        </td>
    </tr>
    <tr>
        <td>
            <font color="#0B610B">构建日志 (最后 200行):</font></b>
            <hr size="2" width="100%" byte="center" />
        </td>
    </tr>
    <tr>
        <td><textarea cols="80" rows="30" readonly="readonly"
                      style="font-family: Courier New">${BUILD_LOG,maxLines=200,escapeHtml=true}</textarea>
        </td>
    </tr>
</table>
</body>

</html>